package form

import model "pd/server/app/pd/model/user"

type LoginForm struct {
	UserName string `json:"userName"`
	Password string `json:"password"`
}

type EmployeeListForm struct {
	MerchantId int64 `json:"-"  form:"-"`
	UserId     int64 `json:"-"  form:"-"`
	OperatorId int64 `json:"-"  form:"-"`

	Current  int    `json:"current"  form:"current"`
	Size     int    `json:"size"  form:"size"`
	Keyword  string `json:"keyword"  form:"keyword"`
	UserName string `json:"userName" form:"userName"`
	Status   string `json:"status" form:"status"`
}

type AddEmployeeForm struct {
	RoleId int64 `json:"-"  form:"-"`
	*model.UserModel
}

type ModifyPasswordForm struct {
	OperatorId int64 `json:"-"  form:"-"`

	OldPassword string `json:"password"`
	NewPassword string `json:"newPassword"`
}
